package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 护理项目Mapper接口
 */
@Mapper
public interface NursingProjectMapper {

    Page<NursingProject> selectByPage(@Param("name")String name, @Param("status")Integer status);

    NursingProject selectByPrimaryKey(Long id);

    void insert(NursingProject nursingProject);

    void updateByPrimaryKey(NursingProject nursingProject);

    void deleteByPrimaryKey(Long id);

    List<NursingProject> selectAll();
}